<div id="inquiryCheckEl">
	<div class="bg-light lter b-b wrapper-sm">
		<h1 class="m-n font-thin h4">{{titleInquiry}}</h1>
	</div>
	<div class="wrapper-sm">
		<div class="panel panel-default">
			<div class="panel-body">
				<validator name="validation">
					<form id="inquiryForm" class="form-validation form-horizontal novalidate">
						<!--:disabled="{disabled: titleInquiry=='询价单详情'}"-->
						<fieldset>
							<div class="form-group">
								<div class="panel-heading font-bold m-t-n m-b-sm">
									基本信息
								</div>
								<label class="col-lg-1 pull-left control-label">子询价单编号:</label>
								<label class="col-lg-2 control-label text-left">{{inquiryChildId}}</label>
								<label class="col-lg-1 pull-left control-label">下单时间<span class="text-danger">*</span></label>
								<label class="col-lg-2 control-label text-left">{{creationTime}}</label>
								<label class="col-lg-1 pull-left control-label">紧急程度<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input id="inquiryAdd_urgency" disabled name="urgency" type="text" class="form-control input-sm" v-model="responseTime"  placeholder="请填写紧急程度">
								</div>
								<!--<div class="pull-left m-l-n-sm ">
									<select v-model="responseTimeUnit" class="form-control input-sm"  disabled >
										<option value="" selected>请选择</option>
										<option v-for="option in urgencyUnitDropDown" v-bind:value="option.value">
											{{ option.text }}
										</option>
									</select>
									
									
								</div>
								<label class="control-label text-left m-l-xs">内回复</label>-->
								

								
							</div>
							<div class="form-group">
								<label class="col-lg-1 pull-left control-label">客户单位<span class="text-danger">*</span></label>
								<label class="col-lg-2 control-label text-left">{{clientName}}</label>
								<label class="w-s pull-left control-label">发货计划人<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input type="text" class="form-control input-sm" v-model="customerName" placeholder="请填写发货人电话" required name="consignorPhone"
										disabled="disabled">
								</div>
								<label class="w-s pull-left control-label">发货人电话<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input id="inquiryAdd_consignorPhone" name="consignorPhone" type="text" class="form-control input-sm" v-model="customerPhone" placeholder="请填写发货人电话" required name="consignorPhone"
										disabled="disabled">
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-1 pull-left control-label">总询价内容  :</label>
								<div class="col-lg-10 pull-left control-label">
									<textarea class="form-control input-sm" v-model="content" placeholder="请填写总询价内容" name="content" disabled></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="panel-heading font-bold m-b-sm">
									线路信息
								</div>
								<label class="col-lg-1 pull-left control-label">发货地址<span class="text-danger">*</span></label>
								<div class="col-lg-10">
									<div class="pull-left form-group form-inline m-n" required="true">
										<div class="form-group m-n">
											<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="originProvinceStr" >
										</div>
										<div class="form-group m-n">
											<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="originCityStr" >
										</div>
										<div class="form-group m-n">
											<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="originCountyStr" >
										</div>
									</div>
									<div class="col-lg-4 m-l-n-sm">
										<input id="inquiryAdd_startAddress" name="startAddress" disabled type="text" class="form-control input-sm" id="page_inquiry_add_startAddress" v-model="originDetails" placeholder="请填写详细地址">
									</div>
								</div>
								<div class="line  pull-in"></div>
								<label class="col-lg-1 pull-left control-label">送货地址<span class="text-danger">*</span></label>
								<div class="col-lg-10">
									<div class="pull-left form-group form-inline m-n" required="true">
										<div class="form-group m-n">
												<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="destinationProvinceStr" >
										</div>
										<div class="form-group m-n">
												<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="destinationCityStr" >
										</div>
										<div class="form-group m-n">
												<input  name="startAddress" disabled type="text" class="form-control input-sm"  v-model="destinationCountyStr" >
										</div>
									</div>
									<div class="col-lg-4 m-l-n-sm">
									<input id="inquiryAdd_endAddress" name="endAddress" type="text" class="form-control input-sm" disabled v-model="destinationDetails" placeholder="请填写详细地址" >
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-1 pull-left control-label">预计发货时间<span class="text-danger">*</span></label>
								<div class="col-lg-3">
									<div class="input-group input-group-sm date">
										<input id="dataTime" name="plannedArrivalTime" datetimepicker plugintype="datetime" disabled v-model="foreArrivalTime" placeholder="预计发货时间"
											class="form-control" type="text" >
										<span id="opendataTime" class="input-group-addon curpoint">
											<span class="glyphicon glyphicon-calendar"></span>
										</span>
									</div>
								</div>
								<label class="w-s pull-left control-label">预计到货时间<span class="text-danger">*</span></label>
								<div class="col-lg-3">
									<div class="input-group input-group-sm date">
										<input id="dataTimeEnd" disabled name="plannedDeliveryTime" datetimepicker plugintype="datetime" v-model="foreDeliveryTime" placeholder="预计到货时间"
											class="form-control" type="text" />
										<span id="opendataTimeEnd" class="input-group-addon curpoint">
											<span class="glyphicon glyphicon-calendar"></span>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="panel-heading font-bold m-b-sm">
									货物信息
								</div>
								<label class="col-lg-1 pull-left control-label">货物类别<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									
									<input type="text" class="form-control input-sm" v-model="goodsTypeName"  required name="goodsTypeName"disabled>
								</div>
								<label class="w-s pull-left control-label">货物名称<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input type="text" class="form-control input-sm" v-model="goodsName"  required name="goodsName" disabled>
								</div>
								<label class="w-s pull-left control-label">货物数量<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<!--ng-pattern="/^[0-9]+(\.[0-9]{1,4})?$/"-->
									<input id="inquiryAdd_goodsQuantity" name="goodsQuantity" type="text" disabled class="form-control input-sm" id="goodsQuantity" v-model="quantityOfGoods"
										placeholder="请填写货物数量"  >
								</div>
								<div class="col-lg-2 m-l-n-sm">
									<input type="text" class="form-control input-sm" v-model="goodsName"  required name="goodsName" disabled>
								</div>
							</div>
							<div class="form-group">
								<div class="panel-heading font-bold m-b-sm">
									所需车辆信息
								</div>
								<label class="col-lg-1 pull-left control-label">所需车型<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input type="text" class="form-control input-sm" v-model="vehicleTypeStr"  required name="vehicleTypeStr" disabled>
								</div>
								<label class="w-s pull-left control-label">所需车长<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input type="text" class="form-control input-sm" v-model="carLengthStr"  required name="carLengthStr" disabled>
								</div>
								<label class="w-s pull-left control-label">承运方式<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input type="text" class="form-control input-sm" v-model="carriageWayStr"  required name="carriageWayStr" disabled>
								</div>
								<label class="w-s pull-left control-label">装车效果</label>
								<div class="col-lg-2">
									<input id="inquiryAdd_loadingEffect" name="loadingEffect" type="text" disabled class="form-control input-sm" v-model="loadingEffect" placeholder="请填写装车效果" >
								</div>
							</div>
							<div class="form-group">
								<div class="panel-heading font-bold m-b-sm">
									附件信息
								</div>
								<div class="col-md-4 m-l-xs">
									
									<!--<div class="col-md-3 form-group">
										<input id="realHead" accept="image/gif,image/jpeg,image/jpg,image/png,image/bmp" name="realHead" type="file" nv-file-select="" uploader="attachmentUploader" multiple />
									</div>-->
								</div>
								<div class="wrapper-sm">
									<div class="line  pull-in"></div>
									<div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
										<span class="">上传文件数: <b class="badge bg-info">{{}}</b></span>
									</div>
									<v-client-table class="editTables" :data="imageLists" :columns="imageColumns" :options="imageOptions" style="overflow:hidden; min-width:1000px;"></v-client-table>
									<!--<button id="inquiryAdd_uploadAll" type="button" class="btn btn-sm btn-addon btn-success" @click="attachmentUploader()" :class="{disabled: length}">
										<i class="fa fa-arrow-circle-o-up"></i> 全部上传
									</button>-->
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-1 pull-left control-label">备注</label>
								<div class="col-lg-10">
									<textarea class="form-control" v-model="remarks" placeholder="请填写备注" name="attachmentDetails" disabled></textarea>
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-1 pull-left control-label"></label>
								<div class="col-lg-2">
									<!--ng-disabled="!inquiryForms.$valid"-->
									<button id="inquiryAdd_addChild" class="btn btn-sm btn-info btn-addon" v-show="inquiryChildShow"  @click="addInquiryChild()"><i class="fa fa-plus"></i>新增</button>
								</div>
							</div>
							
                            <div class="form-group" id="quotation" v-if='quotation'>
								<div class="panel-heading font-bold m-b-sm">
									报价信息
								</div>
								<label class="col-lg-1 pull-left control-label">报价金额<span class="text-danger">*</span></label>
								<div class="col-lg-2">
									<input name="quotationAmount" type="text" class="form-control input-sm" v-model="receivablePrice" disabled
										placeholder="请填写报价金额"  >
								</div>
								<div class="col-lg-2 m-l-n-sm">
								<input name="quotationAmount" type="text" class="form-control input-sm" v-model="receivablePriceUnitStr" disabled
										placeholder="请填写报价金额"  >
								</div>
								<label class="w-s pull-left control-label">报价说明<span class="text-danger">*</span></label>
								<div class="col-lg-5">
									<input name="quotationDescription" type="text" disabled class="form-control input-sm" v-model="receivableSummary" placeholder="请填写报价说明" >
								</div>
							</div>
						</fieldset>
						<div class="form-group">
							<div class="col-lg-5">
								<button id="inquiryAdd_release" class="pull-right-xs btn btn-sm btn-primary btn-addon"  @click="winTheBid()" href='#!/inquiry/inquiryReleaseManage' v-show="winBid" >
									<i class="fa fa-check"></i>已中标
								</button>
								<!--ng-disabled="saveDis"-->
								<button id="inquiryAdd_release" class="pull-right-xs btn btn-sm btn-primary btn-addon"  @click="loseTheBid()" v-show="loseBid">
									<i class="fa fa-check"></i>未中标
								</button>
								<button id="inquiryAdd_release" class="pull-right-xs btn btn-sm btn-primary btn-addon"  @click="unKnow()" v-show="uk">
									<i class="fa fa-check"></i>中标待定
								</button>
								<button id="inquiryAdd_cancel" href='#!/inquiry/inquiryReleaseManage' @click="cancel()" class="pull-right-xs btn btn-sm btn-info btn-addon "><i class="fa fa-reply"></i>取消</button>
							</div>
						</div>
					</form>
				</validator>
			</div>
		</div>
	</div>
</div>